import request from "@/api/request.js";


export function generateCaptcha(email) {
    const data = {
        email: email
    }
    return request({
        url: '/admin/user/captcha/generate',
        method: 'post',
        data: data
    })
}
export function verifyCaptcha(email, captcha) {
    const data = {
        email: email,
        captcha: captcha
    }
    return request({
        url: '/admin/user/captcha/verify',
        method: 'post',
        data: data
    })
}
